#include "gaussfilter.h"

GaussFilter::GaussFilter()
{

    width = 3;
    height = 3;

    matrix = new int*[width];
    for ( int i=0 ; i < width ; i++){
        matrix[i] = new int [height];
    }

    matrix[0][0]= 1.0; matrix[0][1] = 2.0; matrix[0][2] = 1.0;
    matrix[1][0] = 2.0;  matrix[1][1] = 4.0 ; matrix[1][2] = 2.0;
    matrix[2][0] = 1.0 ; matrix[2][1] = 2.0 ; matrix[2][2] = 1.0 ;

}

GaussFilter::~GaussFilter()
{
    delete matrix;
}


